'''
试一试不同的方法
'''

from RandomForest import RandomForest
from Bagging import Bagging

class Main(object):

    @staticmethod
    def ChooseMethod():
        Method = int(input('请输入你想用的分析方法:\n1.随机森林分类\n2.自助聚合算法\n你的输入是:\n'))
        if Method == 1:
            x = RandomForest()
            x.processData()
        if Method ==2:

            x = Bagging()
            x.processData()

if __name__ == '__main__':

    Main.ChooseMethod()




